const COURSE_NAMESPACE = 'course'

export function GET_COURSE_LIST(payload) {
  return {
    type: `${COURSE_NAMESPACE}/fetch`,
    payload,
  }
}

export function GET_COURSE_DETAIL(payload) {
  return {
    type: `${COURSE_NAMESPACE}/fetchDetail`,
    payload,
  }
}

export function GET_MYCOURSE_DETAIL(payload) {
  return {
    type: `${COURSE_NAMESPACE}/fetchMy`,
    payload,
  }
}